<?php

class m110802_135450_review_loan extends CDbMigration
{
	public function safeUp()
	{
		$this->addColumn('dycrm_loan', 'settlementReviewed', 'boolean');
		$this->addColumn('dycrm_loan', 'settlementReviewComments', 'text');
		$this->update('dycrm_loan', array('settlementReviewed'=>'0'));
	}

	public function safeDown()
	{
		$this->dropColumn('dycrm_loan', 'settlementReviewed');
		$this->dropColumn('dycrm_loan', 'settlementReviewComments');
	}
}